.thumbs{
    display: flex;
}
.thumbs>div{
    width: 100%;
}
.thumbs .my-gallery{
    display: flex;
    flex-wrap: wrap;
}
.thumbs .my-gallery figure{
    margin:10px;
    box-shadow: 0 0 8px #ccc;
}

.thumbs .my-gallery figure img{
    width: 90px;
    vertical-align: middle;
}